package uoa.assignment.game;
import java.util.Scanner;
public class RunGame {

	private static boolean gameOver = false;

	public static void main(String[] args) {

		int height = Integer.parseInt(args[0]);
		int width = Integer.parseInt(args[1]);
		Game game = new Game(height, width);
		int roundNumber=0;
		Scanner scanner = new Scanner(System.in);
		while(!gameOver)
		{
			roundNumber++;
			System.out.printf("Round %d\n",roundNumber);
			String input=scanner.nextLine();
			if(game.nextRound(input))
			{

				gameOver=true;

			}

			System.out.println();


		}
		scanner.close();

	}

}
